<?php

interface IAuthenticator {
	public function hashPassword ($name, $password);
	
	public function hashHashPassword ($passwordHash);
	
	public function encodeCookie ($name, $passwordHash);
	
	public function decodeCookie ($cookie);
}